Skip to content

Remove wait-for-expect from dependencies #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 22, 2018
Merged

Remove wait-for-expect from dependencies #205

merged 1 commit into from
Oct 22, 2018

Conversation

just-boris
Copy link
Contributor

@just-boris just-boris commented Oct 22, 2018

What:

Remove unused dependency from package.json

Why:

This package is not used here directly. Dom-testing-library uses it though and declares it there already: https://github.com/kentcdodds/dom-testing-library/blob/master/package.json#L43

On the other hand, in case if dom-testing-library would use a new major version of the dependency, there will be unwanted package duplication, because this line will stay.

Packages should not declare dependencies on other packages, that they actually do not use.

Checklist:

  • (N/A) Documentation
  • (N/A) Tests
  • Ready to be merged
  • (N/A) Added myself to contributors table

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kentcdodds kentcdodds merged commit fe3b65c into testing-library:master Oct 22, 2018
@kentcdodds
Copy link
Member

🎉 This PR is included in version 5.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@just-boris just-boris deleted the patch-1 branch October 22, 2018 21:30
lucbpz pushed a commit to lucbpz/react-testing-library that referenced this pull request Jul 26, 2020
* fix: account for sorting bug in node 10

* just one sort regardless of node version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants